package com.aos.erp.gov.ex.service;

import com.aos.erp.common.bean.PageBean;
import com.aos.erp.gov.ex.enums.GovConfigType;
import com.aos.erp.gov.ex.model.GovExConfigItem;

import java.util.List;

public interface GovExConfigItemService {

    GovExConfigItem getById(long id);

    List<GovExConfigItem> getByConfig(long parentId);

    List<GovExConfigItem> getByConfig(long parentId, GovConfigType parentType);

    GovExConfigItem addBean(GovExConfigItem bean);

    GovExConfigItem saveConfigItem(GovExConfigItem bean);

    PageBean<GovExConfigItem> queryByPage(long pageIndex, long pageSize);
}